<template>
	<view class="page">
		<view class="flex benben-position-layout flex flex-wrap align-center testExamination_flex_0"
			:style="{height:(88+StatusBarRpx)+'rpx',paddingTop:StatusBarRpx+'rpx'}">
			<view class='flex flex-wrap align-center justify-between flex-sub testExamination_fd0_0'>
				<view class='flex flex-wrap align-center' @tap.stop="handleJumpDiy" data-type="back" data-url="1">
					<text class='fu-iconfont2  testExamination_fd0_0_c0_c0'>&#xE794;</text>
				</view>
				<text class='testExamination_fd0_0_c1'>价格高级设置</text>
				<view class='flex flex-wrap align-center testExamination_fd0_0_c2'>
				</view>
			</view>

		</view>
		<view :style="{height: (88+StatusBarRpx)+'rpx'}"></view>

		<view class="calendar">
			<calendar ref="calendar" v-if="isShow" @cancel="cancel" :startDate="startDate" :height="height"
				:endDate="endDate" @selectDate="selectDate" :limit="limit" :bottom1="bottom1"
				:yimanArray="yimanArray" />
		</view>

		<view class="picker_btn flex align-center justify-between">
			<view class="picker_btn_1 flex align-center justify-center">批量修改</view>
			<view class="picker_btn_2 flex align-center justify-center" @tap.stop="rentShow=true">修改价格</view>
		</view>
		
		<view style="height: 130rpx;"></view>
		
		
		<u-popup v-model="rentShow" mode="center" border-radius="32">
			<view class="deductible_popup">
				<view class="pop_title">批量修改价格</view>
				<view class="title_text">按星期修改</view>
				<view class="charge_list">
					<view class="charge_item flex align-center justify-center">周一</view>
					<view class="charge_item flex align-center justify-center">周二</view>
					<view class="charge_item flex align-center justify-center">周三</view>
					<view class="charge_item flex align-center justify-center">周四</view>
					<view class="charge_item flex align-center justify-center">周五</view>
					<view class="charge_item flex align-center justify-center">周六</view>
					<view class="charge_item flex align-center justify-center">周日</view>
				</view>
				<view class="title_text">按时间修改</view>
				<view class="screen_date flex align-center">
					<image class="date_icon" :src='STATIC_URL+"459.png"' mode="aspectFill"></image>
					<view class="date_content flex align-center">
						<text>开始日期</text>
						<text class="date_content_line">-</text>
						<text>结束日期</text>
					</view>
				</view>
				<view class="rent flex align-center justify-between">
					<view class="title_text" style="padding: 0;">日租金</view>
					<view class="flex align-center">
						<view class="input_view flex align-center">
							<text class="money_icon">￥</text>
							<input class="input" type="number" placeholder="请输入金额" placeholder-style="font-size:26rpx;color:#999;">
						</view>
						<view class="price_unit">元/日</view>
					</view>
				</view>
				<view class="operation flex align-center justify-between">
					<view class="operation_1 flex align-center justify-center">取消</view>
					<view class="operation_2 flex align-center justify-center">确定</view>
				</view>
				<!-- <view class="pop_bg"></view> -->
			</view>
		</u-popup>
	</view>
</template>
<script>
	import calendar from '../components/dc-calendar/dc-calendar.vue'
	export default {
		components: {
			calendar
		},

		data() {
			return {
				isShow: true,
				startDate: '', //开始日期2022-01-26
				endDate: '', //结束日期 2022-01-29
				height: 600, //日历容器高度
				limit: 3, //展示月份数量
				bottom1: 0,
				yimanArray: [],
				dicdes: {
					price: 1
				}, //传过来的订单数据
				type: 0, //1是进入订单 0是返回
				rentShow: false
			};
		},
		computed: {

		},
		watch: {},
		onLoad(options) {
			let {
				id
			} = options
			this.id = id || ''
		},
		onUnload() {

		},
		onReady() {

		},
		onShow() {

		},
		onHide() {

		},
		onResize() {

		},
		onPullDownRefresh() {

		},
		onReachBottom(e) {

		},
		onPageScroll(e) {

		},
		methods: {

		}
	};
</script>
<style lang="scss" scoped>
	
	.picker_btn {
		width: 100%;
		position: fixed;
		left: 0;
		bottom: 0;
		background: #fff;
		padding: 12rpx 30rpx 28rpx;
		margin-top: 12rpx;
	}
	.picker_btn_1 {
		width: 236rpx;
		height: 96rpx;
		background: #F6F7FB;
		border-radius: 16rpx;
		font-weight: 500;
		font-size: 30rpx;
		color: #222222;
	}
	.picker_btn_2 {
		width: 436rpx;
		height: 96rpx;
		background: #1A66FA;
		border-radius: 16rpx;
		font-weight: 500;
		font-size: 30rpx;
		color: #fff;
	}
	.success_content {
		text-align: center;
	}

	.success_icon {
		width: 480rpx;
		height: 380rpx;
		margin: 80rpx 0 24rpx;
	}

	.tip_text {
		text-align: center;
		font-weight: bold;
		font-size: 36rpx;
		color: #111111;
	}

	.task {
		margin: 66rpx 116rpx 100rpx 80rpx;

		.task_le {
			display: flex;
			flex-direction: column;
			align-items: center;

			.task_le_1 {
				width: 24rpx;
				height: 24rpx;
				border-radius: 20rpx;
				border: 2rpx solid #CCCCCC;
				border-radius: 50%;
			}

			.task_le_2 {
				width: 2px;
				height: 136rpx;
				background: #F7F7F7;
				border-radius: 20rpx;
			}
		}

		.task_ri {
			margin-left: 30rpx;

			.task_ri_t {
				text-align: left;

				.ri_t_1 {
					font-weight: bold;
					font-size: 30rpx;
					color: #111111;
				}

				.ri_t_2 {
					font-weight: 400;
					font-size: 26rpx;
					color: #999999;
					margin-top: 4rpx;
					line-height: 30rpx;
				}
			}

			.task_ri_t_m {
				margin-top: 78rpx;
			}
		}
	}
	
	.deductible_popup {
		width: 626rpx;
		position: relative;
		.pop_title {
			text-align: center;
			font-weight: 800;
			font-size: 36rpx;
			color: #222222;
			padding: 40rpx 0 12rpx;
		}
		.pop_tips {
			padding: 0 38rpx;
			margin-top: 16rpx;
			.tips_le {
				width: 8rpx;
				height: 8rpx;
				border-radius: 50%;
				background: #1A66FA;
				margin-right: 16rpx;
				transform: translateY(16rpx);
			}
			.tips_ri {
				width: calc(100% - 24rpx);
				font-weight: 400;
				font-size: 28rpx;
				color: #222222;
				line-height: 36rpx;
			}
		}
		.pop_btn {
			width: 548rpx;
			height: 88rpx;
			background: #1A66FA;
			border-radius: 16rpx;
			font-weight: 500;
			font-size: 32rpx;
			color: #FFFFFF;
			margin: 66rpx auto 52rpx;
		}
		.pop_bg {
			width: 100%;
			height: 220rpx;
			background: linear-gradient( 180deg, rgba(26,102,250,0.2) 0%, rgba(255,255,255,0) 100%);
			border-radius: 32rpx 32rpx 0px 0px;
			position: absolute;
			top: 0;
			left: 0;
		}
		.title_text {
			padding: 36rpx 40rpx 22rpx;
			font-weight: 500;
			font-size: 30rpx;
			color: #000000;
		}
		.screen_date {
			width: 550rpx;
			height: 80rpx;
			border-radius: 16rpx;
			border: 2rpx solid #EEEEEE;
			margin: 0 30rpx;
			padding-left: 46rpx;
			.date_icon {
				width: 40rpx;
				height: 40rpx;
			}
			.date_content {
				margin-left: 26rpx;
				font-weight: 400;
				font-size: 28rpx;
				color: #666666;
				.date_content_line {
					margin: 0 70rpx;
				}
			}
		}
		.rent {
			padding: 0 40rpx;
			margin: 28rpx 0 0;
		}
		.input_view {
			width: 200rpx;
			height: 72rpx;
			border-radius: 16rpx;
			border: 2rpx solid #1A66FA;
			
			.input {
				padding: 0 16rpx 0 0;
				font-size: 26rpx;
			}
			.money_icon {
				font-weight: bold;
				font-size: 32rpx;
				color: #1A66FA;
				margin-left: 16rpx;
			}
		}
		.price_unit {
			font-weight: 400;
			font-size: 26rpx;
			color: #111111;
			margin-left: 16rpx;
		}
		.operation {
			margin: 46rpx 0;
			padding: 0 40rpx;
			.operation_1 {
				width: 266rpx;
				height: 88rpx;
				background: #F6F7FB;
				border-radius: 16rpx;
				font-weight: 500;
				font-size: 32rpx;
				color: #222222;
			}
			.operation_2 {
				width: 266rpx;
				height: 88rpx;
				background: #1A66FA;
				border-radius: 16rpx;
				font-weight: 500;
				font-size: 32rpx;
				color: #fff;
			}
		}
		
		.charge_list {
			overflow: hidden;
			padding: 10rpx 40rpx 0;
			.charge_item {
				float: left;
				width: 174rpx;
				height: 80rpx;
				background: #F6F7FB;
				border-radius: 16rpx;
				font-weight: 400;
				font-size: 28rpx;
				color: #222222;
				margin-bottom: 10rpx;
				margin-right: 10rpx;
				image {
					width: 24rpx;
					height: 24rpx;
					margin-right: 4rpx;
				}
			}
			.active_item {
				color: #1A66FA;
				background: #F1F6FF;
				border: 2rpx solid #AAC7FF;
			}
			.charge_item:nth-child(3n+3) {
				margin-right: 0;
			}
		}
	}

	.personalInformation_fd1_0 {
		padding: 28rpx 0;
		border-top: 2rpx solid #eee;
	}

	.personalInformation_fd1_0_c0 {
		font-size: 28rpx;
		color: rgba(0, 0, 0, 0.6);
	}

	.personalInformation_fd1_1_c1 {
		font-size: 28rpx;
		font-weight: 400;
		color: #111;
		text-align: right;
	}


	.feedback_fd4_0 {
		width: 640rpx;
		border-radius: 80rpx;
		font-size: 30rpx;
		font-weight: bold;
		color: #fff;
		margin: 0rpx 55rpx 0rpx 55rpx;
		height: 84rpx;
		line-height: 84rpx;
		text-align: center;
		background: #FC5B03;
	}

	.feedback_flex_4 {
		width: 750rpx;
		height: 120rpx;
		overflow: hidden;
		position: fixed;
		z-index: 10;
		bottom: calc(0rpx + var(--window-bottom));
		display: flex;
		justify-content: center;
		background: #fff;
	}




	.testExamination_fd1_0 {
		margin: 0rpx 16rpx 0rpx 0rpx;
		padding: 40rpx 32rpx 24rpx 32rpx;
	}

	.testExamination_fd1_0_c0 {
		width: 36rpx;
		height: 36rpx;
		margin: 0rpx 16rpx 0rpx 0rpx;
	}

	.testExamination_fd1_0_c1 {
		line-height: 45rpx;
		font-size: 32rpx;
		font-weight: 700;
		color: #333333;
	}

	.testExamination_notAnfd1_1_c0 {
		background: rgba(244, 250, 255, 1);
		background-size: 100% !important;
		width: 750rpx;
		height: 80rpx;
		border-radius: 40rpx 40rpx 40rpx 40rpx;
		padding: 0rpx 32rpx 0rpx 32rpx;
	}

	.testExamination_anfd1_1_c0 {
		background: rgba(244, 250, 255, 1);
		background-size: 100% !important;
		border-radius: 40rpx 40rpx 40rpx 40rpx;
		padding: 0rpx 32rpx 0rpx 32rpx;
		width: 750rpx;
		height: 80rpx;
	}

	.testExamination_areafd1_1_c0 {
		min-height: 80rpx;
		padding: 0rpx 32rpx 0rpx 32rpx;
	}

	.testExamination_notAnfd1_1_c0_c0_c0 {
		width: 36rpx;
		height: 36rpx;
		margin: 0rpx 16rpx 0rpx 0rpx;
	}

	.testExamination_notAnfd1_1_c0_c0_c1 {
		margin: 0rpx 20rpx 0rpx 0rpx;
		line-height: 45rpx;
		font-size: 32rpx;
		font-weight: 700;
		color: #1593FF;
	}

	.testExamination_notAnfd1_1_c0_c0_c2 {
		font-weight: 700;
		font-size: 32rpx;
		color: #1593FF;
		line-height: 45rpx;
		text-decoration: none;
		-webkit-line-clamp: 1;
		overflow: hidden;
		text-overflow: ellipsis;
		display: -webkit-box;
		-webkit-box-orient: vertical;
	}

	.testExamination_anfd1_1_c0_c0_c0 {
		width: 36rpx;
		height: 36rpx;
		margin: 0rpx 16rpx 0rpx 0rpx;
	}

	.testExamination_anfd1_1_c0_c0_c1 {
		margin: 0rpx 20rpx 0rpx 0rpx;
		line-height: 45rpx;
		font-size: 32rpx;
		font-weight: 700;
		color: #1593FF;
	}

	.testExamination_anfd1_1_c0_c0_c2 {
		font-weight: 700;
		font-size: 32rpx;
		color: #1593FF;
		line-height: 45rpx;
		text-decoration: none;
		-webkit-line-clamp: 1;
		overflow: hidden;
		text-overflow: ellipsis;
		display: -webkit-box;
		-webkit-box-orient: vertical;
	}

	.testExamination_areafd1_1_c0_c0 {
		border-bottom: 1px solid #eee;
		padding: 32rpx 0rpx 40rpx 0rpx;
	}

	.testExamination_areafd1_1_c0_c0_c0 {
		margin: 0rpx 0rpx 24rpx 0rpx;
	}

	.testExamination_areafd1_1_c0_c0_c0_c0_c0 {
		margin: 0rpx 0rpx 24rpx 0rpx;
	}

	.testExamination_areafd1_1_c0_c0_c0_c0_c0_c0 {
		line-height: 40rpx;
		font-size: 28rpx;
		font-weight: 400;
		color: #333333;
		margin: 0rpx 15rpx 0rpx 0rpx;
	}

	.testExamination_areafd1_1_c0_c0_c0_c0_c0_c1 {
		line-height: 40rpx;
		font-size: 28rpx;
		font-weight: 400;
		color: #333333;
	}

	.testExamination_areafd1_1_c0_c0_c0_c0_c1_c0 {
		line-height: 40rpx;
		font-size: 28rpx;
		font-weight: 400;
		color: rgba(21, 147, 255, 1);
	}

	.testExamination_areafd1_1_c0_c0_c0_c0_c1_c1 {
		line-height: 40rpx;
		font-size: 28rpx;
		font-weight: 400;
		color: #333333;
	}

	.testExamination_areafd1_1_c0_c0_c0_c0_c1_c2 {
		line-height: 40rpx;
		font-size: 28rpx;
		font-weight: 400;
		color: #333333;
	}

	.testExamination_areafd1_1_c0_c0_c0_c0_c1_c3 {
		line-height: 40rpx;
		font-size: 28rpx;
		font-weight: 400;
		color: #333333;
		margin: 0rpx 32rpx 0rpx 0rpx;
	}

	.testExamination_areafd1_1_c0_c0_c0_c0_c1_c4 {
		line-height: 40rpx;
		font-size: 28rpx;
		font-weight: 400;
		color: #333333;
	}

	.testExamination_areafd1_1_c0_c0_c0_c0_c1_c5 {
		line-height: 40rpx;
		font-size: 28rpx;
		font-weight: 400;
		color: #333333;
	}

	.testExamination_areafd1_1_c0_c0_c0_c1 {
		font-size: 26rpx;
		color: rgba(191, 191, 191, 1);
	}

	.testExamination_areafd1_1_c0_c0_c1 {
		background: rgba(242, 242, 242, 1);
		background-size: 100% !important;
		width: 602rpx;
		height: 16rpx;
		border-radius: 16rpx 16rpx 16rpx 16rpx;
		background-size: 100% auto !important;
	}

	.testExamination_progress1_areafd1_1_c0_c0_c1 {
		background: rgba(21, 147, 255, 1);
		background-size: 100% !important;
		border-radius: 10rpx 10rpx 10rpx 10rpx;
	}

	.testExamination_fd0_0 {
		padding: 0rpx 32rpx 0rpx 32rpx;
		height: 88rpx;
	}

	.testExamination_fd0_0_c0_c0 {
		font-size: 32rpx;
		font-weight: 500;
		color: #111;
	}

	.testExamination_fd0_0_c1 {
		font-size: 32rpx;
		font-weight: bold;
		color: #111111;
	}

	.testExamination_fd0_0_c2 {
		width: 36rpx;
		height: 36rpx;
	}

	.testExamination_flex_0 {
		border-bottom: 1px solid #eee;
		background: #fff;
		background-size: 100% !important;
		width: 750rpx;
		height: 88rpx;
		overflow: hidden;
		z-index: 10;
		top: 0rpx;
		background-size: 100% auto !important;
	}

	.page {
		min-height: calc(100vh - var(--window-bottom));
		background: #fff;
		background-size: 100% auto !important;
	}
</style>